﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FazaDemo.BL.DataAccess
{
    public interface IRepository<T, TId> where T: class
    {

        T Get(TId id);

        IList<T> GetAll();

        T FindOne(Func<T, bool> predicate);

    }
}
